package com.lab.dao;

import com.lab.pojo.Operator;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OperatorDao {
    List<Operator> allOperators();//查询所有学生

    void updateOperator(Operator operator);//修改

    void addOperator(Operator operator);//添加

    void deleteOperator(Integer[] mid);//删除

    Operator findOperatorById(Integer mid);//回显数据

    Operator findOperator(String username);
}
